#!/bin/bash

TMP="$HOME/.winedoors/tmp/"
WINEDIR="$HOME/.wine/dosdevices/c:"

#check if the file exists and cd into TMP dir

if [ ! -e $TMP/instmsia.exe ] 
	then
		echo "File not found"
fi
cd $TMP

#Info: http://www.microsoft.com/downloads/details.aspx?FamilyID=cebbacd8-c094-4255-b702-de3bb768148f&DisplayLang=en
#Download link: http://download.microsoft.com/download/WindowsInstaller/Install/2.0/W9XMe/EN-US/InstMsiA.exe
#Licencing & Redistrubution: Appears to be freelly redistributed

WINEDLLOVERRIDES="msi=n" wine $TMP/instmsia.exe